<div class="view">

    <h3>
        <?php echo CHtml::link(CHtml::encode($data->title), array('post/view','alias'=>$data->alias)); ?>
    </h3>
    <div class="content">
        <?php
            if($data->image!='')
            {
            ?>
            <img width="200" src="<?php echo Yii::app()->request->getBaseUrl(true)."/images/".$data->image?> " alt="" class="image-post"/>
            <?php
            }
        ?>
        <?php echo $data->getIntroducePost($data->content,250); ?>
    </div>
    
    <b><?php echo CHtml::encode($data->getAttributeLabel('tags')); ?>:</b>
    <?php
     echo implode(', ', $data->tagLinks); ?>  
    <br />

    <b><?php echo CHtml::encode($data->getAttributeLabel('create_time')); ?>:</b>
    <?php echo date('d F Y',  strtotime($data->create_time))?>
    <br />
    
</div>